package com.ethink.order.service;

import com.ethink.order.api.info.TocSaleImportLogDetailInfo;
import com.ethink.order.api.request.TocSaleImportLogDetailAddRequest;
import com.ethink.order.api.request.TocSaleImportLogDetailQueryRequest;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * TOC销售单导入日志明细 Service接口
 *
 * @author default
 * @date 2022-11-22
 */
public interface TocSaleImportLogDetailService {

    void batchInsert(List<TocSaleImportLogDetailAddRequest> item, Long id, Map<String,BigDecimal> rateMap);

    Integer insert(TocSaleImportLogDetailAddRequest request,Long logId,BigDecimal exchangeRate);

    List<TocSaleImportLogDetailInfo> queryDetailByShopOrderNoAndMateSku(List<TocSaleImportLogDetailQueryRequest> requests);

    List<TocSaleImportLogDetailInfo> queryDetailByShopOrderNo(List<String> shopOrderNoList);

    List<TocSaleImportLogDetailInfo> queryDetailByIds(List<Long> ids);
}